<script setup>

// import login from '@/view/login.vue'
import {RouterLink,RouterView} from 'vue-router'  

</script>

<template>
    <!-- 导航区 -->
    <!-- <div class="navigate">
      <RouterLink to="/department"  push>department</RouterLink>
      <RouterLink to="/menu" >menu</RouterLink>
      <RouterLink to="/login" >login</RouterLink>
      <RouterLink to="/home" active-class="active">home</RouterLink>
    </div> -->
    <!-- 展示区 -->
    <div class="main-content">
      <RouterView></RouterView>
    </div>
</template>

<style scoped>
header {
  line-height: 1.5;
}

.logo {
  display: block;
  margin: 0 auto 2rem;
}

@media (min-width: 1024px) {
  header {
    display: flex;
    place-items: center;
    padding-right: calc(var(--section-gap) / 2);
  }

  .logo {
    margin: 0 2rem 0 0;
  }

  header .wrapper {
    display: flex;
    place-items: flex-start;
    flex-wrap: wrap;
  }
}
</style>
